package com.molichuxing.services.infrastructure.bean;

import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class UserPayeeBean extends RootBean {
    /**
     *  id
     */
    private Integer id;

    /**
     * 用户id user_id
     */
    private Integer userId;

    /**
     * 收款人 payee
     */
    private String payee;

    /**
     * 开户行 bank
     */
    private String bank;

    /**
     * 银行账号 bank_number
     */
    private String bankNumber;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * member_user_payee
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @date 2020-02-26 15:29:35
     * @return id 
     */
    @Override
	public Integer getId() {
        return id;
    }

    /**
     * 
     * @date 2020-02-26 15:29:35
     * @param id 
     */
    @Override
	public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 用户id
     * @date 2020-02-26 15:29:35
     * @return user_id 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 用户id
     * @date 2020-02-26 15:29:35
     * @param userId 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 收款人
     * @date 2020-02-26 15:29:35
     * @return payee 收款人
     */
    public String getPayee() {
        return payee;
    }

    /**
     * 收款人
     * @date 2020-02-26 15:29:35
     * @param payee 收款人
     */
    public void setPayee(String payee) {
        this.payee = payee == null ? null : payee.trim();
    }

    /**
     * 开户行
     * @date 2020-02-26 15:29:35
     * @return bank 开户行
     */
    public String getBank() {
        return bank;
    }

    /**
     * 开户行
     * @date 2020-02-26 15:29:35
     * @param bank 开户行
     */
    public void setBank(String bank) {
        this.bank = bank == null ? null : bank.trim();
    }

    /**
     * 银行账号
     * @date 2020-02-26 15:29:35
     * @return bank_number 银行账号
     */
    public String getBankNumber() {
        return bankNumber;
    }

    /**
     * 银行账号
     * @date 2020-02-26 15:29:35
     * @param bankNumber 银行账号
     */
    public void setBankNumber(String bankNumber) {
        this.bankNumber = bankNumber == null ? null : bankNumber.trim();
    }

    /**
     * 创建时间
     * @date 2020-02-26 15:29:35
     * @return gmt_create 创建时间
     */
    @Override
	public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @date 2020-02-26 15:29:35
     * @param gmtCreate 创建时间
     */
    @Override
	public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     * @date 2020-02-26 15:29:35
     * @return gmt_modified 修改时间
     */
    @Override
	public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     * @date 2020-02-26 15:29:35
     * @param gmtModified 修改时间
     */
    @Override
	public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        UserPayeeBean other = (UserPayeeBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getPayee() == null ? other.getPayee() == null : this.getPayee().equals(other.getPayee()))
            && (this.getBank() == null ? other.getBank() == null : this.getBank().equals(other.getBank()))
            && (this.getBankNumber() == null ? other.getBankNumber() == null : this.getBankNumber().equals(other.getBankNumber()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getPayee() == null) ? 0 : getPayee().hashCode());
        result = prime * result + ((getBank() == null) ? 0 : getBank().hashCode());
        result = prime * result + ((getBankNumber() == null) ? 0 : getBankNumber().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", payee=").append(payee);
        sb.append(", bank=").append(bank);
        sb.append(", bankNumber=").append(bankNumber);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}